﻿using System;
using FreeSql.DataAnnotations;

namespace QuDao
{
    /// <summary>
    /// biz_cash_apply: biz_提现申请
    /// </summary>
    [Table(Name = "biz_cash_apply")]
    public partial class CashApply
    {
        /// <summary>
        /// ID
        /// </summary>
        [Column(IsPrimary = true, IsIdentity = true)]
        public long ID { get; set; }

        /// <summary>
        /// 租户ID
        /// </summary>
        public int TID { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public long UserID { get; set; }

        /// <summary>
        /// 用户姓名
        /// </summary>
        public string TrueName { get; set; }

        /// <summary>
        /// 提现金额
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 转账目标：1-提现到银行卡，2-余额抵扣货款
        /// </summary>
        public int Target { get; set; }

        /// <summary>
        /// 状态：0-申请中，1-已结算
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 操作员ID
        /// </summary>
        public long OperatorID { get; set; }

        /// <summary>
        /// 操作员姓名
        /// </summary>
        public string OperatorName { get; set; }

        /// <summary>
        /// 交易流水号
        /// </summary>
        public string TradeNo { get; set; }

        /// <summary>
        /// 转账时间
        /// </summary>
        public DateTime PaymentTime { get; set; }

        /// <summary>
        /// 创建时间：申请提现时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Memo { get; set; }


    }
}